package com.huli.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Squirrel
 * @since 2020-11-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user_coupon")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UserCoupon implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "user_coupon_id", type = IdType.AUTO)
    private Integer userCouponId;

    private Integer userId;

    private Integer couponId;

    private Integer userCouponNum;


}
